# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=trid-defs
pkgver=2025.10.03
pkgrel=1
pkgdesc='Filesignature database for trid.'
arch=('any')
url='http://mark0.net/soft-trid-e.html'
license=('custom:unknown')
source=("$pkgname-$pkgver.zip::http://mark0.net/download/triddefs.zip")
sha512sums=('a5c1cc24d78ecde3673e5ce24371187fb909982c69425101f1992d003fc42337c25ad93c1da5612b3afdec9d948dba9e9e2cc2e6ce2487ea2e056661b4ba94ee')

package() {
  install -D triddefs.trd "$pkgdir/usr/share/trid/triddefs.trd"

  install -dm 755 "$pkgdir/usr/share/licenses/trid"
  ln -s "/usr/share/licenses/trid" "$pkgdir/usr/share/licenses/trid"
}

